package com.jiazaibendi.lottery.dao.mapper;

import com.jiazaibendi.lottery.dao.domain.Scheme;
import com.jiazaibendi.lottery.dao.domain.SchemeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SchemeMapper {
    long countByExample(SchemeExample example);

    int deleteByExample(SchemeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Scheme record);

    int insertSelective(Scheme record);

    List<Scheme> selectByExample(SchemeExample example);

    Scheme selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Scheme record, @Param("example") SchemeExample example);

    int updateByExample(@Param("record") Scheme record, @Param("example") SchemeExample example);

    int updateByPrimaryKeySelective(Scheme record);

    int updateByPrimaryKey(Scheme record);
}